package org.example.fastproject.web.sys.model.vo.log;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author 王海舟
 * @Date 2023/2/3 11:25
 * @PackageName:org.example.fastproject.web.sys.model.vo.log
 * @ClassName: LogVo
 * @Description: 日志信息
 * @Version 1.0
 */
@Data
@ApiModel(description = "日志信息")
public class LogVo {
    @ApiModelProperty("日志id")
    private Long id;

    @ApiModelProperty("日志类型（0-正常，1-错误）")
    private Integer type;

    @ApiModelProperty("日志标题")
    private String title;

    @ApiModelProperty("请求ip")
    private String ip;

    @ApiModelProperty("请求url")
    private String url;

    @ApiModelProperty("创建时间")
    private Date createTime;
}
